package com.web.exiaodao.business.repository;

import com.web.exiaodao.business.entity.WalletTradeRecord;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;


public interface WalletTradeRecordRepository extends
		PagingAndSortingRepository<WalletTradeRecord, Long>,
		JpaSpecificationExecutor<WalletTradeRecord> {
	public WalletTradeRecord findByIdAndStatusNot(Long id, Integer status);
	public List<WalletTradeRecord> findByTradeOrderNo(String tradeOrderNo);
}
